html,body{
    height: 100%;
    overflow: hidden;
}
body{
    margin: 0;
}
.cover{
    overflow: hidden;
    width: 0;
    height: 0;
    position: absolute;
}
.trasition-3{
    -webkit-transition: all .3s;
    transition: all .3s;
}
.layout{
    max-width: 640px;
    margin: 0 auto;
    height: 100%;
}
.scene-1,
.scene-2,
.scene-3{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.bg101{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 58.39%;
    background: url("../img/p101.jpg") no-repeat center top;
    background-size: auto 100%;
    -webkit-transform-origin: bottom;
    transform-origin: bottom;
    z-index: 1;
}
.bg102{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 41.61%;
    background: url("../img/p102.jpg") no-repeat center top;
    background-size: auto 100%;
    -webkit-transform-origin: top;
    transform-origin: top;
    z-index: 1;
}

.on .bg101,
.on .bg102{
    -webkit-animation: scale-y 1s;
    animation: scale-y 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.pos1{
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    position: absolute;
    z-index: 2;
}
.ball1{
    position: absolute;
    width: 9.375%;
    top: 42.6%;
    right: 112%;
    z-index: 5;
}
.p104{
    position: absolute;
    width: 46%;
    top: 37.6%;
    right: 73%;
}
.p103{
    position: absolute;
    width: 58.75%;
    bottom: 6.37%;
    right: 69.25%;
}
.on .ball1{
    -webkit-animation: fly-from-far .8s 1s, rotating 1s infinite linear 1.8s;
    animation: fly-from-far .8s 1s, rotating 1s infinite linear 1.8s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.on .p103{
    -webkit-animation: beating .8s infinite linear 2.4s;
    animation: beating .8s infinite linear 2.4s;
}
.on .p104{
    -webkit-animation: jump-from-bottom .8s 1.8s;
    animation: jump-from-bottom .8s 1.8s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.bg101,
.bg102,
.ball1,
.p104,
.p103{
    opacity: 0;
}

.scene-2{
    background: url("../img/bg201.jpg") no-repeat center top;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    opacity: 0;
}
.scene-2.on{
    -webkit-animation: slide-down 1s;
    animation: slide-down 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.ball201{
    display: block;
    position: absolute;
    width: 13.8%;
    bottom: 10%;
    left: 43.1%;
    z-index: 3;
}
.steer{
    position: absolute;
    display: block;
    width: 19%;
    bottom: 8.45%;
    left: 40.2%;
    opacity: 0;
    -webkit-transform-origin: center 60%;
    transform-origin: center 60%;
    -webkit-filter: drop-shadow(0 0 3px #fff);
    filter: drop-shadow(0 0 3px #fff);
    z-index: 2;
}
.steer.touch{
    opacity: .8;
}
.score201,
.clock201 {
    position: absolute;
    top: 0;
    font-size: 18px;
    color: #068042;
    margin: 0 .3em;
}
.score201{
    left: 0;
}
.clock201{
    right: 0;
}

.goalie{
    position: absolute;
    bottom: 53%;
    opacity: 0;
}
.goalie201{
    width: 34%;
    left: 33%;
}
.goalie202{
    width: 45%;
    left: 27.5%;
}
.goalie203{
    width: 15%;
    left: 42.5%;
}
.goalie.on{
    opacity: 1;
}

.pointer201{
    position: absolute;
    width: 31.25%;
    top: 86%;
    left: 50%;
    z-index: 5;
}
.on .pointer201{
    -webkit-animation: beating 1s infinite linear;
    animation: beating 1s infinite linear;
}
.pointer201.hide{
    display: none;
}
.goal201{
    position: absolute;
    width: 74%;
    height: 27.8%;
    top: 18.5%;
    left: 13%;
    opacity: 0;
}
#cv{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
}


.scene-3{
    background: url("../img/bg301.jpg") no-repeat center top;
    -webkit-background-size: cover;
    background-size: cover;
}
.p301-box{
    width: 89.5%;
    margin: 15.6% auto 0;
    position: relative;
    opacity: 0;
}
.p301{
    width: 100%;
}
.p302,
.score,
.rank{
    position: absolute;
    font-size: 42px;
    color: #043a9e;
    font-weight: bold;
}
.p302{
    width: 24.78%;
    bottom: 28%;
    left: 0;
    right: 0;
    margin: auto;
}
.score{
    bottom: 16%;
    left: 55%;
}
.rank{
    bottom: 6%;
    left: 55%;
}
@media all and (max-width: 639px) {
    .score,
    .rank{
        font-size: 24px;
    }
}

.p3-btn-box{
    width: 50%;
    margin: 12% auto;
    position: relative;
}
.again{
    width: 28.75%;
    position: absolute;
    left: 0;
    opacity: 0;
}
.share{
    width: 23.75%;
    position: absolute;
    right: 0;
    opacity: 0;
}

.on .p301-box{
    -webkit-animation: slide-down 1s;
    animation: slide-down 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.on .again{
    -webkit-animation: fly-from-far 1s 1s;
    animation: fly-from-far 1s 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.on .share{
    -webkit-animation: fly-from-far 1s 1.8s;
    animation: fly-from-far 1s 1.8s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.rotating{
    -webkit-animation: rotating .5s infinite linear;
    animation: rotating .5s infinite linear;
}


.jump-right-80{
    -webkit-animation: jump-right-80 .5s;
    animation: jump-right-80 .5s;
}
.jump-left-80{
    -webkit-animation: jump-left-80 .5s;
    animation: jump-left-80 .5s;
}
.jump-right-60{
    -webkit-animation: jump-right-60 .5s;
    animation: jump-right-60 .5s;
}
.jump-left-60{
    -webkit-animation: jump-left-60 .5s;
    animation: jump-left-60 .5s;
}
.jump-right-30{
    -webkit-animation: jump-right-30 .5s;
    animation: jump-right-30 .5s;
}
.jump-left-30{
    -webkit-animation: jump-left-30 .5s;
    animation: jump-left-30 .5s;
}
.jump-stat{
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
}

.popup-inner{
    display: inline-block;
    text-align: justify;
    padding: .5em 1em;
    max-width: 80%;
}
.setting-select{
    background: transparent;
    color: #fff;
}
.setting-select option{
    color: #333;
}